# -*- coding: utf-8 -*-

import shutil
import os
# 源文件
src_file = "autokey.exe"

# 目标文件夹
dst_folder = "C:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup"

os.remove(dst_folder + "\\" + src_file)

shutil.copy(src_file, dst_folder)

os.system('explorer "C:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup"')
